import axios from '@/utils/request'
const base = '/movieserver'

export function listMovieTests(params) {
  return axios({
    url: `${base}/innerTestMovies`,
    method: 'get',
    params: params
  })
}

export function saveMovieTest(data) {
  return axios({
    url: `${base}/innerTestMovies`,
    method: 'post',
    data
  })
}

export function deleteMovieTest(id) {
  return axios({
    url: `${base}/innerTestMovies/` + id,
    method: 'delete'
  })
}
